<template>
  <div class="row">
    <h1 v-show="isInit">请开始搜索！！！</h1>
    <h1 v-show="isSearch">搜索中......</h1>
    <Item v-for="user in userList" :key="user.id" v-bind="user" />
  </div>
</template>

<script>
import Item from "@/components/List/Item";

export default {
  name: "List",
  props: ["isInit", "isSearch", "userList"],
  components: {
    Item,
  },
};
</script>

<style>
</style>